.ui-nav {
	overflow: hidden;
	display: block;
	height: 40px; 
	background: #222222; /* Old browsers */
	background: -moz-linear-gradient(top,#222222 0%, #000000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#222222), color-stop(100%,#000000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,#222222 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,#222222 0%,#000000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,#222222 0%,#000000 100%); /* IE10+ */
	background: linear-gradient(to bottom,#222222 0%,#000000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222222', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
	list-style: none; 
	margin:0; 
	padding: 0;
}
.ui-nav li {
	border-width : 0;
	float: left; 
	height: 40px; 
	width: 90px;
	overflow: hidden;
	text-align: center;
	text-transform: uppercase; 
	position: relative;
}
.ui-nav li a {
	text-decoration: none;
	height: 40px;
	font-size: 12px;
	font-family: Arial;
	color: #ddd;
	position: absolute;
	top: 0; 
	left: 0; 
	right: 0;
	line-height: 40px; /* Vertically center text by making line height equal to height */
	/* Transitions effects for all browsers */
	-webkit-transition: all 200ms linear; /* Old webkit version including chrome, safari, etc. */
	-moz-transition: all 200ms linear; /* Old Firefox version */
	-ms-transition: all 200ms linear; /* IE 10+ - IE < 10 will just apply the top position without any transition affect */
	-o-transition: all 200ms linear; /* Old opera support */
	transition: all 200ms linear; /* Normal declatration */
}
.ui-nav li a:hover, .ui-nav li a.ui-nav-active {top:-100%;}
.ui-nav li a:after {
	content: attr(data-caption); /* Use the data-caption attribute for the text content */
	display: block;
	display:line;
	position: absolute;
	top: 100%;
	width: 100%;
	height: 40px;
	color: #FFF;
	background: #3498db; /* Old browsers */
	background: -moz-linear-gradient(top,#3498db 0%, #2980b9 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3498db), color-stop(100%,#2980b9)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,#3498db 0%,#2980b9 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,#3498db 0%,#2980b9 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,#3498db 0%,#2980b9 100%); /* IE10+ */
	background: linear-gradient(to bottom,#3498db 0%,#2980b9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3498db', endColorstr='#2980b9',GradientType=0 ); /* IE6-9 */
}